home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
scuba.swf
/
scripts
/
DefineSprite_283
/
frame_28
/
DoAction.as
Wrap
Text File
|
2010-03-13
|
532b
|
24 lines
if(20 < _root.gTimeCounter)
{
if(0 < _root.gOxygenStatus)
{
_root.gOxygenStatus--;
_root.oxygenGauge.gotoAndStop("oxy" + _root.gOxygenStatus);
vOxyBegin = Math.round(Number(getTimer() / 1000));
if(_root.LOW_OXYGEN >= _root.gOxygenStatus)
{
_root.lowOxyWarning.gotoAndStop("warning");
}
else
{
_root.lowOxyWarning.gotoAndStop("base");
}
gotoAndPlay(10);
}
else
{
_root.fnEndGame();
gotoAndStop(1);
}
}